package com.xiaolin.oa.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaolin.oa.model.entity.SysOrganization;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 组织架构表 Mapper 接口
 * </p>
 *
 * @author xiaolin
 * @since 2024-07-12
 */
public interface SysOrganizationMapper extends BaseMapper<SysOrganization> {

    List<SysOrganization> getOrgList(SysOrganization organization);

    List<Integer> getUserOrgDataPerms(@Param("userId") Integer userId);
}
